package com.ctgu.frequence.Utils;


import java.util.Comparator;
import java.util.Map;

public class ValueComparator implements Comparator<Map.Entry<String, Integer>> {
    public int compare(Map.Entry<String, Integer> m, Map.Entry<String, Integer> n) {
        return n.getValue()-m.getValue();
    }
}
